package com.bo.threadCreate;

/**
 * @Author: gpb
 * @Date: 2024/7/13 21:55
 * @Description:
 */
public class IRunnable implements Runnable{
    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName() + "我正在执行任务");
    }
    public static void main(String[] args) {
        IRunnable iRunnable = new IRunnable();
        Thread thread = new Thread(iRunnable);
        thread.start();
    }
}
